#home-page {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  // background: blue;

  // 功能区
  .dir {
    width: 97%;
    min-height: 100px;
    display: flex;
    align-items: center;
    user-select: none;

    // logo
    .logo {
      margin-right: 40px;

      img {
        height: 60px;
      }
    }

    .music-info {
      display: none;
    }

    // 标签头
    &>>>.el-tabs {
      .el-tabs__header {
        margin: 0;
        // height: 40px;

        .el-tabs__nav-wrap {
          margin-bottom: 0;
          overflow: visible;

          .el-tabs__nav-scroll {
            overflow: visible;
          }

          &::after {
            display: none;
          }

          .el-tabs__nav {
            background: transparent;

            // 去除下划线标记
            .el-tabs__active-bar {
              display: none;
            }

            // hover
            .el-tabs__item {
              margin-right: 20px;
              padding: 0;
              width: 100px;
              height: 35px;
              text-align: center;
              line-height: 35px;
              color: #cbcbcb;
              font-size: 14px;
              border-radius: 20px;
              border-radius: 150px;
              background: transparent;
              box-shadow: 3px 3px 7px rgba(66, 66, 66, 0.459), -3px -3px 7px rgba(150, 150, 150, 0.376);
              cursor: pointer;
              transition: 0.3s;

              &:hover {
                color: #fff;
              }

              &.is-active {
                color: #fff;
                font-size: 13.5px;
                box-shadow: inset 3px 3px 7px rgba(66, 66, 66, 0.459), inset -3px -3px 7px rgba(150, 150, 150, 0.376);
              }
            }
          }
        }
      }

      .el-tabs__content {
        display: none;
      }
    }

    .mobile-search.search-btn {
      display: none;
    }

    .search-btn {
      width: 35px;
      height: 35px;
      line-height: 35px;
      text-align: center;
      font-size: 21px;
      color: #cbcbcb;
      border-radius: 50%;
      background: transparent;
      box-shadow: 3px 3px 7px rgba(66, 66, 66, 0.459), -3px -3px 7px rgba(150, 150, 150, 0.376);
      cursor: pointer;
      transition: 0.3s;

      &:hover {
        color: #fff;
      }

      &:active {
        box-shadow: inset 3px 3px 7px rgba(66, 66, 66, 0.459), inset -3px -3px 7px rgba(150, 150, 150, 0.376);
      }
    }
  }

  .middle {
    width: 96%;
    height: 80%;
    display: flex;
    justify-content: space-around;
    // background: red;
    // overflow: hidden;

    .middle-left {
      // flex: 1;
      width: calc(100% - 300px);
      // padding-left: 200px;
      display: flex;
      justify-content: space-between;
    }

    // 封面 歌词
    .img-lyrics {
      width: 300px;
      position: relative;
      top: -30px;
      left: 70px;
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      align-items: center;

      // 唱针
      .needle {
        position: absolute;
        z-index: 1;
        top: -20px;
        right: 20px;
        height: 120px;
        transform-origin: 50% 20px;
        transform: rotate(0deg);
        transition: 0.7s;
        filter: drop-shadow(0 0 2px #555);
      }

      .img-wrap {
        position: relative;
        width: 200px;
        height: 200px;
        margin-bottom: 30px;

        border-radius: 50%;
        border: 3px solid #fff;
        box-shadow: 0 0 8px #ccc;
        overflow: hidden;
        animation: img-rotate 30s linear infinite;
        transition: .3s;

        // 光盘旋转
        @keyframes img-rotate {
          0% {
            transform: rotate(0turn);
          }

          100% {
            transform: rotate(1turn);
          }
        }

        // 中间挖孔
        &::after {
          // 若有唱针则显示
          // display: none;
          content: "";
          position: absolute;
          margin: auto;
          left: 0;
          top: 0;
          right: 0;
          bottom: 0;
          width: 50px;
          height: 50px;
          border-radius: inherit;
          background: #1d2d3c;
          border: 3px solid #eee;
        }

        // 图片
        img {
          width: 100%;
          height: 100%;
          border-radius: inherit;
        }
      }
    }
  }

  // 搜索面板
  .el-drawer__wrapper {
    &>>>.el-drawer {
      width: 400px !important;
      height: 100%;
      overflow: hidden;
      padding: 0 20px;
      background: linear-gradient(300deg, #427b5a 0%, #466e71 100%);

      &::before {
        content: "";
        position: absolute;
        left: -5%;
        top: -5%;
        width: 150%;
        height: 150%;
        background-image: var(--BGD-r-1);
        z-index: 0;
        background-position: center;
        background-size: auto 100%;
        background-repeat: no-repeat;
        filter: blur(var(--blur)) brightness(var(--BGD-r-brt));
        transition: 0.3s;
      }

      // 搜索头部
      .el-drawer__header {
        height: 50px;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 10px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        position: relative;
        z-index: 1;

        // 搜索框
        .search-input {
          width: 67%;
          padding: 10px 20px;
          margin-right: 10px;
          color: #cbcbcb;
          font-size: 16px;
          border: none;
          border-radius: 20px;
          // background: linear-gradient(145deg, #f0f0f0, #e2e2e2);
          // box-shadow: 3px 3px 7px #b1b1b1, -6px -6px 13px #ffffff;
          background: transparent;
          box-shadow: 3px 3px 7px rgba(66, 66, 66, 0.459), -3px -3px 7px rgba(150, 150, 150, 0.376);

          &:focus {
            border: none;
            outline: none;
            color: #fff;
            box-shadow: inset 3px 3px 7px rgba(66, 66, 66, 0.459), inset -3px -3px 7px rgba(150, 150, 150, 0.376);
          }

          &::-webkit-input-placeholder {
            color: #cbcbcb88;
          }
        }

        // 搜索按钮
        .el-icon-search {
          font-size: 24px;
          color: #cbcbcb;
          background: #fff;
          border-radius: 50%;
          padding: 8px;
          cursor: pointer;
          border-radius: 50%;
          background: transparent;
          box-shadow: 3px 3px 7px rgba(66, 66, 66, 0.459), -3px -3px 7px rgba(150, 150, 150, 0.376);
          transition: 0.3s;

          &:hover {
            color: #fff;
          }

          &:active {
            font-size: 23px;
            // background: #dfdfdf;
            // box-shadow: inset 5px 5px 10px #cfcfcf, inset -5px -5px 10px #efefef;
            color: #fff;
            background: transparent;
            box-shadow: inset 3px 3px 7px rgba(66, 66, 66, 0.459), inset -3px -3px 7px rgba(150, 150, 150, 0.376);
          }
        }

        // 默认关闭按钮
        .el-drawer__close-btn {
          display: none;
        }
      }

      // 搜索体
      .el-drawer__body {
        padding-top: 0px;
        padding-right: 0;
        position: relative;
        z-index: 1;

        // 搜索源选择
        .search-source {
          padding-left: 10px;
          padding-bottom: 10px;
          display: flex;
          align-items: center;

          // 提示
          .title {
            // color: #000;
            color: #cbcbcb;
            font-size: 12px;
          }

          // 可选图标
          .el-radio-group {
            display: flex;
            // justify-content: flex-start;

            .el-radio-button {
              width: 30px;
              height: 30px;
              border-radius: 50%;
              margin-right: 6px;

              // 删除第一个占位的选项
              &:first-child {
                display: none;
              }
            }

            .el-radio-button__inner {
              width: 100%;
              height: 100%;
              display: flex;
              justify-content: center;
              align-items: center;
              border-radius: 50%;
              border: transparent;
              background: linear-gradient(145deg, #f0f0f0, #e2e2e2);
              box-shadow: 3px 3px 7px #b1b1b1, -3px -3px 7px #ffffff;
              background: transparent;
              box-shadow: 3px 3px 7px rgba(66, 66, 66, 0.459), -3px -3px 7px rgba(150, 150, 150, 0.376);

              img {
                width: 15px;
                height: 15px;
              }
            }
          }
        }
      }
    }
  }

  // 播放器
  .player_wrap {
    width: 100%;
  }
}


@media screen and (max-width: 1000px) {
  #home-page {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

    // 功能区
    .dir {
      width: calc(100% - 60px);
      min-height: 100px;
      display: flex;
      align-items: center;

      // logo
      .logo {
        margin-right: 0;

        img {
          width: 50px;
          height: auto;
        }
      }

      .music-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        color: #cbcbcb;
        overflow: hidden;

        &>span:first-child {
          display: block;
          width: 90%;
          font-size: 20px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }

        &>span:last-child {
          display: block;
          width: 80%;
          font-size: 13px;
          color: rgba(203, 203, 203, 0.692);
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
      }

      // 标签头
      &>>>.el-tabs {
        .el-tabs__header {
          display: none;
        }

        .el-tabs__content {
          display: none;
        }
      }

      .search-btn {
        display: none;
      }

      .mobile-search.search-btn {
        display: block;
        width: 50px;
        height: 50px;
        line-height: 50px;
        text-align: center;
        font-size: 30px;
      }
    }

    .middle {
      width: 100%;
      height: 80%;
      display: flex;
      justify-content: center;

      .middle-left {
        display: none !important;
      }

      // 封面 歌词
      .img-lyrics {
        width: 400px;
        top: -30px;
        left: 0px;
        flex-direction: column;
        justify-content: center;

        // 唱针
        .needle {
          display: none;
        }

        .img-wrap {
          width: 300px;
          height: 300px;
          margin-bottom: 0;
          border: 5px solid rgba(255, 255, 255, 0.192);
          box-shadow: none;
          cursor: pointer;
          display: block;

          &::after {
            display: none;
          }
        }

        // 歌词
        .lyrics {
          display: none;
        }
      }
    }

    // 搜索面板
    .el-drawer__wrapper {
      &>>>.el-drawer {
        width: 50% !important;

        // 搜索头部
        .el-drawer__header {

          // 搜索框
          .search-input {
            border: 1px solid #cbcbcb;

            // box-shadow: 3px 3px 7px rgba(66, 66, 66, 0.459), -3px -3px 7px rgba(150, 150, 150, 0.376);
            &:focus {
              border: 1px solid #fff;
            }
          }
        }
      }
    }
  }
}

@media screen and (max-width: 600px) {
  #home-page {

    // 功能区
    .dir {
      width: calc(100% - 60px);
      min-height: 100px;
      display: flex;
      align-items: center;

      // logo
      .logo {
        margin-right: 0;

        img {
          width: 40px;
        }
      }

      .music-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #cbcbcb;
        letter-spacing: 1px;

        &>span:first-child {
          font-size: 15px;
        }

        &>span:last-child {
          font-size: 12px;
          color: rgba(203, 203, 203, 0.692);
        }
      }

      .mobile-search.search-btn {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 24px;
      }
    }

    .middle {
      width: 100%;
      height: 80%;
      display: flex;
      justify-content: center;

      .middle-left {
        display: none !important;
      }

      // 封面 歌词
      .img-lyrics {
        top: -40px;

        .img-wrap {
          width: 200px;
          height: 200px;
        }
      }
    }

    // 搜索面板
    .el-drawer__wrapper {
      &>>>.el-drawer {
        width: 90% !important;
        // padding-bottom: 30px;

        // 搜索体
        .el-drawer__body {
          padding-top: 0;
          padding-right: 0;
          position: relative;
          z-index: 1;
          // padding-bottom: 20px;
        }
      }
    }
  }
}
